
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/static/common/common.jsp"%>
    <script type="text/javascript" src="/static/js/systemDictionary.js"></script>
    <script type="text/javascript" src="/static/js/systemDictionaryItem.js"></script>
</head>
<body>
    <div id="cc" class="easyui-layout" fit="true" style="width:600px;height:400px;">
    <div data-options="region:'west',title:'数据字典目录',split:true" style="width:600px;">
        <div id="dictionary_dataGrid"></div>
    </div>
    <div data-options="region:'center',title:'数据字典明细目录'" style="padding:5px;background:#eee;">
        <div id="dictionaryitem_dataGrid"></div>
    </div>
    </div>

    <div id="dictionary_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>
        <a class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-cmd="remove">删除</a>
    </div>
    <div id="dictionaryitem_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-url="add">新增</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-url="edit">编辑</a>
        <a class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-url="remove">删除</a>
    </div>
    <div id="dictionary_buttons">
        <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
    </div>
    <div id="dictionaryitem_buttons">
        <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-url="save">保存</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-url="cancel">取消</a>
    </div>
    <div id="dictionary_dialog">
        <form id="dictionary_form" method="post">
            <input type="hidden" name="id"/>
            <table align="center" style="top: 15px">
                <tbody>
                    <tr>
                        <td>
                            字典目录编码:
                        </td>
                        <td>
                            <input name="name" class="easyui-textbox"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            字典目录名称:
                        </td>
                        <td>
                            <input name="sn" class="easyui-textbox"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            字典目录简介:
                        </td>
                        <td>
                            <input name="intro" class="easyui-textbox"/>
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>
    <div id="dictionaryitem_dialog">
        <form id="dictionaryitem_form" method="post">
            <input type="hidden" name="id"/>
            <table align="center" style="top: 15px">
                <tbody>
                    <tr>
                        <td>
                            条目名称:
                        </td>
                        <td>
                            <input name="name" class="easyui-textbox"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            条目简称:
                        </td>
                        <td>
                            <input name="intro" class="easyui-textbox"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            字典目录:
                        </td>
                        <td>
                            <input id="parent" name="parent.id" class="easyui-combobox" data-options="panelHeight:'auto',valueField: 'id',textField: 'name',url:'/systemDictionary/selectAll.do'"/>
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>
</body>
</html>
